Mending Fences with Self-Invalidation and Self-Downgrade

نویسندگان

  • Parosh Aziz Abdulla
  • Mohamed Faouzi Atig
  • Stefanos Kaxiras
  • Carl Leonardsson
  • Alberto Ros
  • Yunyun Zhu
چکیده

Cache coherence protocols based on self-invalidation and self-downgrade have recently seen increased popularity due to their simplicity, potential performance efficiency, and low energy consumption. However, such protocols result in memory instruction reordering, thus causing extra program behaviors that are often not intended by the programmers. We propose a novel formal model that captures the semantics of programs running under such protocols, and employs a set of fences that interact with the coherence layer. Using the model, we design an algorithm to analyze the reachability and check whether a program satisfies a given safety property with the current set of fences. We describe a method for insertion of optimal sets of fences that ensure correctness of the program under such protocols. The method relies on a counter-example guided fence insertion procedure. One feature of our method is that it can handle a variety of fences (with different costs). This diversity makes optimization more difficult since one has to optimize the total cost of the inserted fences, rather than just their number. To demonstrate the strength of our approach, we have implemented a prototype and run it on a wide range of examples and benchmarks. We have also, using simulation, evaluated the performance of the resulting fenced programs. 2012 ACM CCS: [Theory of computation]: Logic—Verification by model checking; [Software and its engineering]: Software organization and properties—Software functional properties —Formal methods— Model checking / Software verifcation;

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Fencing Programs with Self-Invalidation and Self-Downgrade

Cache coherence protocols using self-invalidation and selfdowngrade have recently seen increased popularity due to their simplicity, potential performance efficiency, and low energy consumption. However, such protocols result in memory instruction reordering, thus causing extra program behaviors that are often not intended by the programmer. We propose a novel formal model that captures the sem...

متن کامل

Self-compassion and emotional invalidation mediate the effects of parental indifference on psychopathology.

This study investigated whether self-compassion and emotional invalidation (perceiving others as indifferent to one's emotions) may explain the relationship of childhood exposure to adverse parenting and adult psychopathology in psychiatric outpatients (N=326). Path analysis was used to investigate associations between exposure to adverse parenting (abuse and indifference), self-compassion, emo...

متن کامل

Association among self-compassion, childhood invalidation, and borderline personality disorder symptomatology in a Singaporean sample

Background Linehan's biosocial theory posits that parental invalidation during childhood plays a role in the development of borderline personality disorder symptoms later in life. However, little research has examined components of the biosocial model in an Asian context, and variables that may influence the relationship between childhood invalidation and borderline symptoms. Self-compassion is...

متن کامل

Reducing Coherence Overhead in Shared-Bus Multiprocessors

To reduce the overhead of cache coherence enforcement in shared-bus multiprocessors, we propose a self-invalidation technique as an extension to write-invalidate protocols. The technique speculatively identi es cache blocks to be invalidated and dynamically determines when to invalidate them locally. We also consider enhancing our selfinvalidation scheme by incorporating read snar ng, to reduce...

متن کامل

Modeling of contagious downgrades and its application to multi-downgrade protection

In this paper, we use a multivariate affine jump process to model the downgrade intensities for several categories of business sector in credit portfolios. Since multivariate affine jump structure enables us to consider self-exciting effects as well as mutually exciting effects, the model can explain the downgrade clusters observed in the Japanese market. Also, we propose a new credit derivativ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Logical Methods in Computer Science

دوره 14  شماره 

صفحات  -

تاریخ انتشار 2018